home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / dosmax21.zip / FREELOAD.DOC < prev    next >
Text File  |  1993-06-11  |  18KB  |  427 lines

  1.  
  2. ================================================================================
  3.       FREELOAD.SYS :  Ver. 2.1, Copyright (1992,93) by Philip B. Gardner
  4. ================================================================================
  5.  
  6.   FREELOAD.SYS is a device driver which will help maximize the use of low
  7.   memory by releasing memory usually reserved in low memory by LOADHI.SYS
  8.   from Quarterdeck Office Systems. 
  9.  
  10.   FREELOAD.SYS tracks the high memory device loader operations and if it
  11.   is safe to release the low memory after each device initiates, the low
  12.   memory is released and the driver in upper memory is linked into the DOS
  13.   device chain.
  14.  
  15.   FREELOAD.SYS can be used to save 1-2k in a typical configuration.  The
  16.   actual amount of memory saved depends upon on the number and type of
  17.   device drivers loaded high.
  18.  
  19.   Support is provided for:
  20.  
  21.     * fully automatic support of QEMM's LOADHI.SYS and 386MAX's 386LOAD.SYS
  22.     * specifying the name and path of the device loader
  23.     * both character and block devices
  24.     * character drivers which contain an unlimited number of devices
  25.     * DOS Versions 3.1 - 3.31, DOS 4.x, and DOS 5.x (or better?)
  26.  
  27. ================================================================================
  28.  
  29. (Requirements)::
  30.  
  31.         * Requires MS-DOS Version 3.10 or better
  32.  
  33. ================================================================================
  34.  
  35. (Installation)::
  36.  
  37.         (CONFIG.SYS)::
  38.  
  39.         Installation of FREELOAD.SYS requires modifying the contents of
  40.         your CONFIG.SYS file.
  41.  
  42. (Generic Configuration)::
  43.  
  44.         This configuration should work and be the most efficient in 95%
  45.         of all configurations.  For a few real world examples see
  46.         EXAMPLES.DOC
  47.  
  48.         DOS=HIGH[,UMB]                    (DOS 5.0 only)
  49.         REM DEVICE=STOPMAX.SYS [options]  (Stops kernel from loading in HMA)
  50.         DEVICE=(xms/umb memory manager)
  51.         DEVICE=DOSMAX.EXE [options]       (DOSMAX loads high automatically)
  52.         DEVICE=FREELOAD.SYS [-S][other options]
  53.         REM DEVICE=LOADHI.SYS DOSMAX.EXE  (or DOSMAX loaded high with loader)
  54.         SHELL=SHELLMAX.COM COMMAND.COM /P
  55.         BUFFERS=20
  56.         FILES=40
  57.         LASTDRIVE=Z
  58.  
  59.         Add a DEVICE= line for FREELOAD.SYS in your config.sys.  FREELOAD
  60.         should be loaded immediately after the XMS and UMB memory manager
  61.  
  62.         DEVICE=(Memory Manager)
  63.         DEVICE=FREELOAD.SYS [options]
  64.  
  65.         The default loader pathname is "C:\QEMM\LOADHI.SYS".  If FREELOAD
  66.         cannot open this pathname, a message will displayed alerting you
  67.         to "Use /Fpathname to override."  An example which uses this switch
  68.         is shown below:
  69.  
  70.         DEVICE=FREELOAD.SYS /F D:\QEMM\LOADHI.SYS
  71.  
  72.         Version 1.8 adds full 386MAX support, so if 386MAX is detected, or
  73.         the /A2 switch is used, then the default loader pathname is changed
  74.         to "C:\386MAX\386LOAD.SYS."
  75.  
  76. (Tip)::
  77.  
  78.         If you prefer that a particular device driver is not affected by
  79.         the operation of FREELOAD, place the DEVICE= for that device above
  80.         the DEVICE=FREELOAD.SYS entry.  This may be necessary in the case
  81.         that a particular driver is not compatible with FREELOAD.
  82.  
  83. ================================================================================
  84.  
  85. (Syntax)::
  86.  
  87.         The only thing to remember about syntax for the command line is
  88.         that just about anything works.  What this means is that you
  89.         should be able to type in the options on the command line the
  90.         way they make sense to you.
  91.  
  92.         To illustrate this point, the following command line example
  93.         is mutated several different ways.
  94.  
  95.         DEVICE=FREELOAD.SYS /R+ /P+ /FC:\QEMM\LOADHI.SYS
  96.         DEVICE=FREELOAD.SYS -R+ -P+ -F C:\QEMM\LOADHI.SYS
  97.         DEVICE=FREELOAD.SYS R+ P+ F C:\QEMM\LOADHI.SYS
  98.         DEVICE=FREELOAD.SYS R+P+FC:\QEMM\LOADHI.SYS
  99.         DEVICE=FREELOAD.SYS -R+P+FC:\QEMM\LOADHI.SYS
  100.  
  101.         ... and so on.  There must be an EOL or space following the
  102.         filename paramter the /Fpathname switch
  103.  
  104.         FREELOAD 1.9 and above adds optional full word syntax.  The new
  105.         syntax looks like this:
  106.  
  107.         DEVICE=FREELOAD.SYS /REPORT:- /PAUSE:- /LOADER=C:\QEMM\LOADHI.SYS
  108.         DEVICE=FREELOAD.SYS -REPORT:- -PAUSE:- -LOADER=C:\QEMM\LOADHI.SYS
  109.         DEVICE=FREELOAD.SYS REPORT:- PAUSE:- LOADER=C:\QEMM\LOADHI.SYS
  110.         DEVICE=FREELOAD.SYS REPORT-PAUSE-LOADER=C:\QEMM\LOADHI.SYS
  111.         DEVICE=FREELOAD.SYS -REPORT-PAUSE--LOADER=C:\QEMM\LOADHI.SYS
  112.  
  113.         Obviously when using full words, it is easier to keep the words
  114.         separated so that is clear to read.  An optional [:] or [=] may be
  115.         used for switches (i.e. REPORT:+ or LOADER=C:\LOADHI.SYS).  These
  116.         optional delimiters are used interchangeably and can also be used
  117.         with the single letter switches.  Remember to check your spelling
  118.         because the single letter interface is still intact.
  119.  
  120. (Switch Options)::
  121.  
  122.         The following list of switch options is organized by:
  123.  
  124.         - Control of FREELOAD Reports (/R:/P:/N:)
  125.         - Override the Default Name and Path of the Loader (/F=)
  126.         - Setting the Memory Strategy (/M=)
  127.         - Overriding Directory Structure Size (/D=)
  128.         - Control the Alternate Memory Manager Method (/A=)
  129.         - Controlling the Shrink Feature (/S:)
  130.         - Response file for FREELOAD (@)
  131.  
  132.     (Control of FREELOAD Reports)::
  133.  
  134.         (REPORT)::      R[+ or -]        (toggle:  default +)
  135.  
  136.         Use /R- or /REPORT:- to disable the report after you are
  137.         satisfied with the configuration of DOSMAX.EXE
  138.  
  139.         (PAUSE)::       P[+ or -]        (toggle:  default +)
  140.  
  141.         Use /P- or /PAUSE:- to disable the pause after the report as
  142.         long as there are no errors or warnings.
  143.  
  144.         (NOPAUSE)::     N[+ or -]        (toggle:  default -)
  145.  
  146.         Use /N+ or /NOPAUSE:+ to never pause after the report, even if
  147.         there are errors.  This switch can be used if your configuration
  148.         generates a warning or error message which you choose to ignore.
  149.  
  150.     (Override the Default Name and Path of the Loader)::
  151.  
  152.         (LOADER)::      F[pathname]      (string=  default=C:\QEMM\LOADHI.SYS)
  153.  
  154.         Use /Fpathname or /LOADER=pathname to specify the filename and path
  155.         of the device loader provided with your upper memory manager.  For
  156.         example, if this device driver is on drive D:
  157.  
  158.                 DEVICE=FREELOAD.SYS /FD:\QEMM\LOADHI.SYS
  159.  
  160.         If FREELOAD cannot find this file, it will not load.
  161.  
  162.     (Setting the Memory Strategy)::
  163.  
  164.         (STRATEGY)::    Mn               (value:  n = 0)   
  165.  
  166.         Use /Mn or /STRATEGY=n to control the memory allocation strategy
  167.         which FREELOAD uses to allocate its upper memory block.  The default
  168.         strategy is is First Fit (/M0).  This means that FREELOAD will use
  169.         the first upper memory block returned by the XMS manager.  The other
  170.         options are Best Fit (/M1) and Last Fit (/M2).  Best Fit uses the
  171.         block which most closely matches the size needed, and Last Fit uses
  172.         the highest block big enough to handle the request.  Values other
  173.         than 0, 1, or 2 are ignored and the previous setting of this option
  174.         is used.
  175.  
  176.     (Overriding Directory Structure Size)::
  177.  
  178.         (CDSSIZE)::     Dnn              (value:  nn = 88)
  179.  
  180.         Use /Dnn or /CDSSIZE=nn to set the Drive Table Size.  Values other
  181.         than the MS-DOS 4.0 - 6.0 Drive Table Size of 88 are only allowed if
  182.         the true MS-DOS version is greater than 5.0.  The Drive Table Size
  183.         for DOS 3.x is 81. The /Dnn switch is only necessary if FREELOAD
  184.         can't determine the Drive Table Size automatically.
  185.  
  186.     (Control the Alternate Memory Manager Method)::
  187.  
  188.         (ALTMETHOD)::   An               (value:  n = 0)
  189.  
  190.         Use /An to select the method FREELOAD uses to detect and track
  191.         high device loaders.  There are 3 possible values.  (0), the
  192.         default, mean